// PaymentRecordService.java
package com.geek.water.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.geek.water.entity.PaymentRecord;
import com.geek.water.vo.PageQueryVO;

import java.time.LocalDateTime;

public interface PaymentRecordService extends IService<PaymentRecord> {
    Page<PaymentRecord> listPayments(PageQueryVO queryVO, Long billId, LocalDateTime startTime, LocalDateTime endTime);
    boolean recordPayment(PaymentRecord paymentRecord);
}